<?php error_reporting(0) ?>
<input 
    type="hidden" 
    value="<?php echo $item->ause_id ?>" 
    id="ause_id" name="ause_id"
    />
<form id="_form_edit_panel_user" name="_form_edit_panel_user" 
      action="" method="POST" onsubmit="return false;"
      target="integration_asynchronous" autocomplete="off">
    <input 
        type="hidden" 
        value="<?php echo $item->ause_key ?>" 
        id="ause_key" name="ause_key"
        />
    <input 
        type="hidden" 
        value="<?php echo $item->ause_salt ?>" 
        id="ause_salt" name="ause_salt"
        />
    <input 
        type="hidden" 
        value="true" 
        id="ause_status" name="ause_status"
        />
    
    
    <div class="widget- row-fluid" style="width: 320px">
        <div class="well form-horizontal" style="border:none">
            <div class="control-group">
                <label class="control-label">User :</label>
                <div class="controls">
                    <input type="text" 
                           class="span12 validate[required]"
                           data-prompt-position="topLeft:-1,-5"
                           id="ause_name" name="ause_name" 
                           value="<?php echo quotes_to_entities($item->ause_name) ?>"
                           />
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">UserName :</label>
                <div class="controls">
                    <input type="text" 
                           class="span12 validate[required]"
                           data-prompt-position="topLeft:-1,-5"
                           id="ause_username" name="ause_username" 
                           value="<?php echo quotes_to_entities($item->ause_username) ?>"
                           />
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">Password  :</label>
                <div class="controls">
                    <input type="text" class="uneditable-input span12" 
                           id="ause_password" name="ause_password" 
                           value=""
                           />
                    <i class="icon-reorder field-icon" 
                       onclick="_SO.RandomPass()"
                       title="Random"></i>
                    
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">Email :</label>
                <div class="controls">
                    <input type="text" 
                           class="span12 validate[required]"
                           data-prompt-position="topLeft:-1,-5"
                           id="ause_email" name="ause_email" 
                           value="<?php echo quotes_to_entities($item->ause_email) ?>"
                           />
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">Privilege</label>
                <div class="controls">

                    <select id="ause_authority" name="ause_authority" class=" span12" multiple >
                        <option value="Guest">GUEST</option>
                        <option <?php if(strpos(",$item->ause_authority,",',Admin,')!==false) echo 'selected="1"'?> value="Admin">ADMIN</option>
						<option <?php if(strpos(",$item->ause_authority,",',User,')!==false) echo 'selected="1"'?> value="User">USER</option>
						<option <?php if(strpos(",$item->ause_authority,",',FM,')!==false) echo 'selected="1"'?> value="FM">FILE MANAGE</option>
                        <option <?php if(strpos(",$item->ause_authority,",',View,')!==false)echo 'selected="1"'?> value="View">VIEW</option>
						<option <?php if(strpos(",$item->ause_authority,",',CP,')!==false) echo 'selected="1"'?> value="CP">CONTENT PROVIDER</option>
						<option <?php if(strpos(",$item->ause_authority,",',CO,')!==false) echo 'selected="1"'?> value="CO">CONTENT OUNER</option>
						<option <?php if(strpos(",$item->ause_authority,",',GM,')!==false) echo 'selected="1"'?> value="GM">GAME MASTER</option>
						<option <?php if(strpos(",$item->ause_authority,",',GO,')!==false) echo 'selected="1"'?> value="GO">GAME OPERATOR</option>
						<option <?php if(strpos(",$item->ause_authority,",',EP,')!==false) echo 'selected="1"'?> value="EP">EVENT PROVIDER</option>
						<option <?php if(strpos(",$item->ause_authority,",',SO,')!==false) echo 'selected="1"'?> value="SO">SERVICE OPERATOR</option>
                    </select>
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">&nbsp;</label>
                <div class="controls">
                    <div>
                        <?php if(!empty($item->ause_insert)) echo "Created  : $item->ause_insert" ?>
                    </div>
                    <div>
                        <?php if(!empty($item->ause_update)) echo "Modified : $item->ause_update" ?>
                    </div>  
                </div>
            </div>
        </div>
    </div>
    
    
    
    
    
</form>